Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial design for subscription over observables #30

Closed
wants to merge 1 commit into from

Conversation

DxCx
Copy link

@DxCx DxCx commented Dec 30, 2016

Hi Guys,
@Urigo asked me to open a PR showing how and why i want to use observables.
hoe you enjoy it.

@helfer @stubailo


GraphQL main goal is user experience for devices inside poor networks.

therefore giving the client ability to configure how frequent the updates will be is very helpful. (poor network -> lower updates, standard-network -> regular updates)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the "directive" way of doing live data... Maybe something like this?

{
  myField @live(batchInterval: 10)
}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually i meant as resolver arguments, but ofcourse it can apply to directive also, i liked your idea

@DxCx DxCx closed this Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants